package com.eshop.modules.quartz.service.dto;

import java.sql.Timestamp;
import java.io.Serializable;

public class QuartzLogDto implements Serializable
{
    private String baenName;
    private Timestamp createTime;
    private String cronExpression;
    private String exceptionDetail;
    private Boolean isSuccess;
    private String jobName;
    private String methodName;
    private String params;
    private Long time;
    
    public String getBaenName() {
        return this.baenName;
    }
    
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public String getCronExpression() {
        return this.cronExpression;
    }
    
    public String getExceptionDetail() {
        return this.exceptionDetail;
    }
    
    public Boolean getIsSuccess() {
        return this.isSuccess;
    }
    
    public String getJobName() {
        return this.jobName;
    }
    
    public String getMethodName() {
        return this.methodName;
    }
    
    public String getParams() {
        return this.params;
    }
    
    public Long getTime() {
        return this.time;
    }
    
    public void setBaenName(final String baenName) {
        this.baenName = baenName;
    }
    
    public void setCreateTime(final Timestamp createTime) {
        this.createTime = createTime;
    }
    
    public void setCronExpression(final String cronExpression) {
        this.cronExpression = cronExpression;
    }
    
    public void setExceptionDetail(final String exceptionDetail) {
        this.exceptionDetail = exceptionDetail;
    }
    
    public void setIsSuccess(final Boolean isSuccess) {
        this.isSuccess = isSuccess;
    }
    
    public void setJobName(final String jobName) {
        this.jobName = jobName;
    }
    
    public void setMethodName(final String methodName) {
        this.methodName = methodName;
    }
    
    public void setParams(final String params) {
        this.params = params;
    }
    
    public void setTime(final Long time) {
        this.time = time;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof QuartzLogDto)) {
            return false;
        }
        final QuartzLogDto other = (QuartzLogDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$isSuccess = this.getIsSuccess();
        final Object other$isSuccess = other.getIsSuccess();
        Label_0065: {
            if (this$isSuccess == null) {
                if (other$isSuccess == null) {
                    break Label_0065;
                }
            }
            else if (this$isSuccess.equals(other$isSuccess)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$time = this.getTime();
        final Object other$time = other.getTime();
        Label_0102: {
            if (this$time == null) {
                if (other$time == null) {
                    break Label_0102;
                }
            }
            else if (this$time.equals(other$time)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$baenName = this.getBaenName();
        final Object other$baenName = other.getBaenName();
        Label_0139: {
            if (this$baenName == null) {
                if (other$baenName == null) {
                    break Label_0139;
                }
            }
            else if (this$baenName.equals(other$baenName)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0176: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0176;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$cronExpression = this.getCronExpression();
        final Object other$cronExpression = other.getCronExpression();
        Label_0213: {
            if (this$cronExpression == null) {
                if (other$cronExpression == null) {
                    break Label_0213;
                }
            }
            else if (this$cronExpression.equals(other$cronExpression)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$exceptionDetail = this.getExceptionDetail();
        final Object other$exceptionDetail = other.getExceptionDetail();
        Label_0250: {
            if (this$exceptionDetail == null) {
                if (other$exceptionDetail == null) {
                    break Label_0250;
                }
            }
            else if (this$exceptionDetail.equals(other$exceptionDetail)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$jobName = this.getJobName();
        final Object other$jobName = other.getJobName();
        Label_0287: {
            if (this$jobName == null) {
                if (other$jobName == null) {
                    break Label_0287;
                }
            }
            else if (this$jobName.equals(other$jobName)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$methodName = this.getMethodName();
        final Object other$methodName = other.getMethodName();
        Label_0324: {
            if (this$methodName == null) {
                if (other$methodName == null) {
                    break Label_0324;
                }
            }
            else if (this$methodName.equals(other$methodName)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$params = this.getParams();
        final Object other$params = other.getParams();
        if (this$params == null) {
            if (other$params == null) {
                return true;
            }
        }
        else if (this$params.equals(other$params)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof QuartzLogDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $isSuccess = this.getIsSuccess();
        result = result * 59 + (($isSuccess == null) ? 43 : $isSuccess.hashCode());
        final Object $time = this.getTime();
        result = result * 59 + (($time == null) ? 43 : $time.hashCode());
        final Object $baenName = this.getBaenName();
        result = result * 59 + (($baenName == null) ? 43 : $baenName.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $cronExpression = this.getCronExpression();
        result = result * 59 + (($cronExpression == null) ? 43 : $cronExpression.hashCode());
        final Object $exceptionDetail = this.getExceptionDetail();
        result = result * 59 + (($exceptionDetail == null) ? 43 : $exceptionDetail.hashCode());
        final Object $jobName = this.getJobName();
        result = result * 59 + (($jobName == null) ? 43 : $jobName.hashCode());
        final Object $methodName = this.getMethodName();
        result = result * 59 + (($methodName == null) ? 43 : $methodName.hashCode());
        final Object $params = this.getParams();
        result = result * 59 + (($params == null) ? 43 : $params.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "QuartzLogDto(baenName=" + this.getBaenName() + ", createTime=" + this.getCreateTime() + ", cronExpression=" + this.getCronExpression() + ", exceptionDetail=" + this.getExceptionDetail() + ", isSuccess=" + this.getIsSuccess() + ", jobName=" + this.getJobName() + ", methodName=" + this.getMethodName() + ", params=" + this.getParams() + ", time=" + this.getTime() + ")";
    }
}
